package com.wdciti.sccp.iot.common.aio;

/**
 * @author by early
 */
public interface HandlerDeploy {

    /**
     * Call from vertxFactory when prepare deploy verticle
     *
     * @return VerticleDeploy
     * @throws DeployingException almost
     */
    HandlerDeploy prepare() throws DeployingException;

    /**
     * Call from vertxFactory when deploy verticle
     */
    void deploy() throws DeployingException;

    /**
     * Call from vertxFactory  to get result after deployed.
     *
     * @return DeploymentResult
     */
    DeploymentResult getResult();
}
